let less = require('less');
function loader(source) {
  let css;
  less.render(source, (err, r)=> {  // 这些都是less转义器提供的默认写法
    css = r.css;
  });
  return css;
}

module.exports = loader;